package com.douyang.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaoma
 * @since 2025-03-19
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("seck_kill")
public class SeckKill implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;

    private String title;

    private Double price;

    private Integer stock;

    private Integer validity;

    private LocalDateTime startTime;

    private LocalDateTime endTime;

    private Long updateCreateUserId;

    private String updateCreateUserName;
}
